﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.SalesReports
{
    /// <summary>
    /// 销售退货明细表
    /// </summary>
    public class SalesReturns
    {
        [Key]
        public int Rid { get; set; }
        /// <summary>
        /// 销售订单号
        /// </summary>
        public string? Roid { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string? SalePerson { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime DocumentDate { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? WuliaoCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? WuliaoName { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public int ReturnNum { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int RuNum { get; set; }
    }
}
